#include <stdio.h>
#include <stdlib.h>

//定义球员结构体
struct player{
	char Name[20];
	int Age;
	int Height;
	int Weight;
	int Number;
	char Position[20]; 
	int Salary;
	char BirthDate[20];
};

//定义球队信息结构体
struct team{
	char Name[30];
	char Establishment Time[20];
	char Local Area[50];
	char Home Court[50];
	char Honor[500];
	int NumPeople;
};

//定义比赛信息结构体
struct competition{
	char Name[100];
	char HomeT[100];
	char VisitT[100];
	char Date[20];
	int Goal;
	int Fumble
	int HomeTscore;
};


int main(int argc, char *argv[]) {
	int num;
	printf("输入球队初始球员人数:");
	scanf("%d",&num);
    player p[1000];
	
	for(int n = 0;n < num;n++)
	{
		printf("请输入第%d位球员姓名:",n+1);
		scanf("%s",&p[n].Name);

		printf("请输入第%d位球员年龄:",n+1);
		scanf("%d",&p[n].Age);
		
		printf("请输入第%d位球员身高:",n+1);
		scanf("%d",&p[n].Height);
		
		printf("请输入第%d位球员体重:",n+1);
		scanf("%d",&p[n].Weight);
		
		printf("请输入第%d位球员球衣号码:",n+1);
		scanf("%d",&p[n].Number);
		fflush(stdin);
		
		printf("请输入第%d位球员司职:",n+1);
		gets(p[n].Position);
		fflush(stdin);
		
		printf("请输入第%d位球员薪水:",n+1);
		scanf("%d",&p[n].Salary);
		fflush(stdin);
		
		printf("请输入第%d位球员出生日期:",n+1);
		gets(p[n].BirthDate);
	    fflush(stdin);
	}
	for(int i = 0;i < num;i++)
	{
		printf("%s %d %d %d %d %s %d %s",p[i].Name,p[i].Age,p[i].Height,p[i].Weight,p[i].Number,p[i].Position,p[i].Salary,p[i].BirthDate);
		printf("\n");
	}
    
	
	
	
	return 0;
}